package coms.delegates;

import java.util.List;

public interface IDelegate <T>{
    public boolean create(T t) throws Exception;
    public boolean update(T t) throws Exception;
    public boolean delete(T t) throws Exception;
    public List<T> search(T t) throws Exception;
    public List<T> findAll() throws Exception;
     public T getById(int id) throws Exception;
}
